# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         关键字参数
# Description:
# Author:       asus
# Date:         2019/3/6
#-------------------------------------------------------------------------------


def hello(name,age,addr='博雅未来',salary=1000):#默认参数要定义在关键字参数的后面，当salary没有值的时候会报错
    print('hello{name}'.format(name=name))
    print('我今年{age}'.format(age=age))
    print('我在{addr}上课'.format(addr=addr))
    pass
if __name__ == '__main__':
    hello(name='Young',age='22')